package com.inspur.edp.common.paasexception;

import io.iec.edp.caf.commons.exception.CAFRuntimeException;
import io.iec.edp.caf.commons.exception.ExceptionLevel;

public class PaasException extends CAFRuntimeException {
    public PaasException(ErrorCodes errCodes, String... messageParams){
        super(ExceptionResource.SU, ExceptionResource.RESOURCE_FILE, errCodes.name(), messageParams, null, ExceptionLevel.Error, true);
    }
    public PaasException(Exception innerException, ErrorCodes errCodes, String... messageParams) {
        super(ExceptionResource.SU, ExceptionResource.RESOURCE_FILE, errCodes.name(), messageParams, innerException, ExceptionLevel.Error, true);
    }
}
